package com.xbongbong.pro.model;

import com.xbongbong.pro.domain.entity.FormLabelEntity;

import java.util.List;
import java.util.Map;


/**
 */
public interface FormLabelModel {
   Long insert(FormLabelEntity entity);

   void insertBatch(List<FormLabelEntity> list);

   List<FormLabelEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(FormLabelEntity entity);

   FormLabelEntity getByKey(Long key, String corpid);

   List<FormLabelEntity> getByLabelIdIn(String corpid, List<Long> ids);

   Integer updateBatch(List<FormLabelEntity> formLabelEntities, String corpid);
}
